package com.zhy.learning.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by zhanghy on 2019-09-23
 * description
 */
@RestController
@RequestMapping("/aopController")
public class AopController {

    @RequestMapping("/sayHello")
    public String sayHello(String name) {
        return "hello " + name;
    }
}
